package com.shenhao.hpfa.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.Duration;

/**
 * @author 何嘉豪
 */
@Getter
@Setter
@ToString
public class IdleTimeoutSetting {

    private boolean autoCloseConnection = false;

    private Duration readTimeout = Duration.ZERO;

    private Duration writeTimeout = Duration.ZERO;

    private Duration allTimeout = Duration.ofMinutes(6);
}
